package com.jboa.service;

import java.util.List;

import com.jboa.model.Email;



public interface EmailBiz {

	List<Email> acceptEmail(String username);

	List<Email> sendedEmail(String username);

	List<Email> deletedEmail(String username);

	void addEmail(Email email);

	void deleteById(int eid);
	void deleteById2(int eid);
	public Email searchById(int eid);

	void reverse(int eid);

	int findTotalCount(String hql);

	List<Email> sendedEmail(String username, int firstResult, int maxResults);
	
	
	
	
}
